//
//  HTTP.h
//  XiaoDangJia
//
//  Created by zengyuan on 9/30/14.
//  Copyright (c) 2014 Ma Yiming. All rights reserved.
//

#ifndef XiaoDangJia_HTTP_h
#define XiaoDangJia_HTTP_h

//#define MAINURL @"http://172.16.35.221:28080/SenMo/%@"
#define MAINURL @"http://123.56.73.35:29000/SenMo/%@"

#define URL_LOGIN @"user_login.action"

#define URL_REG @"user_register.action"

#define URL_BIND @"bind_video_device.action"

#define URL_UNBIND @"unbind_video_device.action"

#define URL_GETDEVICES @"fetch_video_devices.action"

#define URL_GETADS   @"fetch_home_advertisings.action"


#define URL_GETDEVICE_CHANNELS @"fetch_video_device_channels.action"

#define URL_GETIPCS_INROUTELIST @"fetch_ipc_in_router.action"

//获取用户
#define URL_GET_SHARE_USERS @"manage_video_device_fetch_shared_users.action"

//分享
#define URL_SHARE_USER @"manage_video_device_share_user.action"

//取消分享
#define URL_UNSHARE_USER @"manage_video_device_unshare_user.action"

#define URL_NORMAL_VIDEO_LOOK @"normal_video_device_request_look_video.action"

//获取请求分享信息
#define URL_GETREQUESTINFO @"manage_video_device_fetch_request_share_messages.action"

//#define URL_GETIPCS_INROUTELIST @"search_ipc_in_router.action"

//修改设备名称
#define URL_CHANGEDEVICENAME @"manage_video_device_modify_device_name.action"

//修改通道名称
#define URL_CHANGECHANNELNAME @"manage_video_device_modify_device_channel_name.action"


#define URL_COOKLIST @"https://shop.white-food.com/index.php?route=api/cook/cooklist&type=%@"

#define URL_COOKDETAIL @"https://shop.white-food.com/index.php?route=api/cook/detail&id=%@"

#define URL_MAKEORDER @"https://shop.white-food.com/index.php?route=api/order/add"

#define URL_DISHLIST @" "



#endif
